package com.chat.xx.server;

import com.chat.xx.beam.entity.UserEntity;
import com.chat.xx.beam.vo.add.UserAdd;
import com.chat.xx.beam.common.Message;
import com.chat.xx.beam.vo.query.UserLoginVo;

public interface UserServer {
    Message<UserEntity> add(UserAdd user) throws IllegalAccessException;
    Message<UserEntity> login(UserLoginVo user);
    Message<Boolean> outLogin(Integer u_id);
    String getUserNameById(Integer u_id);
}
